import type { RouteType } from '~/types/router'
const Layout = () => import('@/layout/index.vue')

export default {
  name: 'orderAdmin',
  path: '/OrderAdmin',
  component: Layout,
  redirect: '/OrderAdmin/List',
  meta: {
    order: 6,
    title: '订单管理',
    icon: 'material-symbols:android-recorder',
  },
  children: [
    {
      name: 'OrderAdminList',
      path: 'List',
      component: () => import('./list/index.vue'),
      meta: {
        title: '订单列表',
        icon: 'material-symbols:list-alt',
      },
    },
    {
      name: 'OrderAdminComment',
      path: 'Comment',
      component: () => import('./comment/index.vue'),
      meta: {
        title: '评论列表',
        icon: 'material-symbols:format-list-bulleted',
      },
    },
  ],
} as RouteType
